package com.yanghui.dtracing.core.config;

import com.yanghui.dtracing.core.opentracing.sampler.SamplerProperties;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class AgentConfig {
	
	public static final String AGENT_LOG_PATH = "agent_log_path";
	public static final String AGENT_LOG_LEVEL = "agent_log_level";
	public static final String EXCLUDE_PLUGIN_LIST = "exclude_plugin_list";
	public static final String SAMPLER_PERCENTAGE = "sampler.percentage";
	public static final String SERVICE_NAME = "service.name";

	/****
	 * agent 本身的日志输出路径
	 */
	private String logPath;
	/**
	 * agent 本身的日志输出路径
	 */
	private String logLevel = "INFO";

	/**
	 * 排除插件名称列表
	 */
	private List<String> excludePluginList = new ArrayList<>();

	/**
	 * 采样配置
	 */
	private SamplerProperties samplerProperties;

	/**
	 * 服务名称
	 */
	private String serviceName;

}
